package com.asohofrucol.dao;


import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.asohofrucol.model.DealTechnicalAssistance;


public interface DealTechnicalAssistanceDao  extends
BasicSaveDao<DealTechnicalAssistance, Long>{
	
    @Query("SELECT p FROM DealTechnicalAssistance p WHERE p.ruat.id = :ruatId and p.status='1'")
    public List<DealTechnicalAssistance> listByRuatId(@Param("ruatId") Long ruatId);	
}
